<div class="admin-content">
    <table class="am-table am-table-striped am-table-hover table-main">
        <thead>
        <tr>
            <th class="table-title">商店名称</th>
            <th class="table-title">商品名称</th>
            <th class="table-title">商品单位</th>
            <th class="table-type">商品分类</th>
            <th class="table-author am-hide-sm-only">商品图片</th>
            <th class="table-date am-hide-sm-only">商品价格</th>
            <th class="table-date am-hide-sm-only">商品库存量</th>
            <th class="table-set">商品描述</th>
            <th class="table-title">删除</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="goods in goodslist">
            <td>{{goods.shopname}}</td>
            <td>{{goods.name}}</td>
            <td>{{goods.unit}}</td>
            <td>{{goods.cataname}}</td>
            <td class="am-hide-sm-only">{{goods.pic}}</td>
            <td class="am-hide-sm-only">{{goods.price|currency:'￥'}}</td>
            <td class="am-hide-sm-only">{{goods.stock}}</td>
            <td>{{goods.description}}</td>
            <td><button type="button" class="am-btn am-btn-sm" ng-click="remove(goods.goodsid)">删除</button></td>
        </tr>
        </tbody>
    </table>
</div>